package service;


import java.util.List;

import pojo.Merchant;

public interface MerchantManager {
	
	public int addMerchant(Merchant merchant);
	
	public List<Merchant> getAllMerchant();
	
	public Merchant getMerchant(String id);
	
	public List<Merchant> getMerchantsByStatus(String status);
	
	public Merchant getMerchantByName(String name);
	
	public int updateMerchantByName(Merchant merchant);
	
	public int updateStatusByName(String name,String status);
}
